package com.wu.gumomallproduct.product.service.feign;

import com.wu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/getHaveStockBySkuIds")
    R productStatusUp(@RequestBody List<Long> collect);
}
